home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_13_05
/
saks
/
tree2.h
< prev
Wrap
C/C++ Source or Header
|
1995-03-06
|
292b
|
19 lines
Listing 2 - A "typical" class for a binary tree with the tree
node class as a forward-declared private nested type
class tree
{
public:
tree();
...
private:
struct node;
node *root;
};
struct tree::node
{
node *left, *right;
...
};